<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="stylesheet/style.css">
<title>Movie Edit Page</title>
</head>
<body>
	<div style="width:900px;margin:auto;border:0px solid black;">
		
		<jsp:include page="../common/header.jsp"/>
		<div style="height:5px;">
			<!-- Spacer -->
		</div>
		<div id="content">
			<s:form action="update_movie.action" method="post">
					<s:textfield name="movie.title" cssStyle="width:140px;"/>
					<s:select list="genres" listKey="id" listValue="name" value="movie.genre.id" name="genreId" cssStyle="width:145px;"/>
					<s:textarea name="movie.summary" rows="5" cols="107"/>
					<s:submit value="Update"/>
			</s:form>
		</div>
		
		<div style="height:5px;">
			<!-- Spacer -->
		</div>
		<jsp:include page="../common/footer.jsp"/>
		
	</div>
</body>
</html>